package com.example.moneybook.common;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @Author: 包
 * @Date: 2023/3/16 8:56
 * Description:
 */
@Component
public class WxConstant {

    /**
     * appid请求地址
     */
    public static final String URL = "https://api.weixin.qq.com/sns/jscode2session?grant_type=authorization_code";
    /**
     * 小程序 appid
     */
    public static final String APP_ID= "wx9c42fbea1f905d3a";
    /**
     * 小程序 appSecret
     */
    public static final String APP_SECRET= "2e72ee6b9c4ee6cae997598b91dc790f";
    /**
     * 授权类型，此处之需写 authorization_code
     */
    public static final String GRANT_TYPE= "authorization_code";

}
